Use treesit-node-match-p in treesit-parent-while
authorYuan Fu <casouri@gmail.com>
Tue, 6 Feb 2024 07:12:36 +0000 (23:12 -0800)
committerYuan Fu <casouri@gmail.com>
Tue, 6 Feb 2024 07:15:26 +0000 (23:15 -0800)
commitcebd26b2e16d75a939e2a9f91becc6ec702122a7
treee389e09d845f865fc3ef582f57bde83430b7eda9
parent10faaa3c91045390755791c21349cd562546fdea
Use treesit-node-match-p in treesit-parent-while

The previous commit should've done this, but I missed it.

* lisp/treesit.el (treesit-parent-while): Use treesit-node-match-p.
lisp/treesit.el